package org.zcl.sqlserver.feign.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.zcl.sqlserver.entity.CreateForBooking;

import java.util.Map;

@FeignClient(name = "loyalty-coupon", path = "/api/loyalty-coupon/coupon/net/")
public interface CouponClient {

    @PostMapping("/CreateCouponForSBooking")
    Map<String, Object> createCouponForSBooking(@RequestBody CreateForBooking param);
}